<%-- 
    Document   : classicLayout
    Created on : 10/03/2008, 15:35:48
    Author     : Tom Hayden
--%>

<%@page contentType="text/html" pageEncoding="ISO-8859-1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<tiles:importAttribute />
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
        <title><tiles:getAsString name="title"/></title>
        <link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}/css/style.css" />
        <link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}/css/menu.css" />
        <c:if test="${not empty css}">
        <link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}/css/${css}" />
        </c:if>
        <script type="text/javascript" src="${pageContext.request.contextPath}/js/prototype.js"></script>
        <script type="text/javascript" src="${pageContext.request.contextPath}/js/jsc.js"></script>
        <script type="text/javascript" src="${pageContext.request.contextPath}/js/default.js"></script>
        <c:if test="${not empty js}">
        <script type="text/javascript" src="${pageContext.request.contextPath}/js/${js}"></script>
        </c:if>
    </head>
    <body>
        <div class="page">
            <div class="header">
                <tiles:insert attribute="header"/>
            </div>
            <div class="body">
                <logic:messagesPresent message="false">
                    <div class="msgErro">
                        <b><fmt:message key="errors.validation"/></b>
                        <html:errors />
                    </div>
                </logic:messagesPresent>
                <tiles:insert attribute="body"/>
            </div>
            <div class="footer">
                <tiles:insert attribute="footer"/>
            </div>
            <form name="frPOP" action="jsp/common/popup.jsp" method="post" target="wopen" style="display: none;">
                <input type="hidden" name="vPagina" />
            </form>
        </div>
    </body>
</html>
